syslog-ng: add runtime test
authorJosef Schlehofer <[email protected]>
Thu, 25 Sep 2025 21:46:44 +0000 (23:46 +0200)
committerJosef Schlehofer <[email protected]>
Thu, 25 Sep 2025 22:10:20 +0000 (00:10 +0200)
It adds a runtime test to verify that the compiled binary in
CI/CD runs without segfault and prints the version.

Signed-off-by: Josef Schlehofer <[email protected]>
admin/syslog-ng/test.sh [new file with mode: 0644]

diff --git a/admin/syslog-ng/test.sh b/admin/syslog-ng/test.sh
new file mode 100644 (file)
index 0000000..190967c
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+syslog-ng --version | grep "$2"